#ifndef __LINKSTACK1_H__
#define __LINKSTACK1_H__
#include "doublelink.h"
class LinkStack
{

public:
    LinkStack();
    ~LinkStack();

    //入栈
    void Push(const ElementType&element);
    //出栈
    void Pop();
    //获取栈顶
    ElementType &GetTop();
    bool IsEmpty();
    size_t Size();
private:
    Doublelink list;

};


















#endif